package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderUsevehDao;
import com.bdzl.biz.service.OrderUsevehService;
import com.bdzl.pub.entity.loan.OrderUsevehDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderUsevehServiceImpl implements OrderUsevehService {
	@Autowired
	private OrderUsevehDao orderUsevehDao;

	@Override
	public OrderUsevehDO get(Integer uvId){
		return orderUsevehDao.get(uvId);
	}

	@Override
	public List<OrderUsevehDO> list(Map<String, Object> map){
		return orderUsevehDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderUsevehDao.count(map);
	}

	@Override
	public int save(OrderUsevehDO orderUseveh){
		return orderUsevehDao.save(orderUseveh);
	}

	@Override
	public int update(OrderUsevehDO orderUseveh){
		return orderUsevehDao.update(orderUseveh);
	}

	@Override
	public int remove(Integer uvId){
		return orderUsevehDao.remove(uvId);
	}

	@Override
	public int batchRemove(Integer[] uvIds){
		return orderUsevehDao.batchRemove(uvIds);
	}

	@Override
	public OrderUsevehDO getByUvOdr(String uvOdr) {
		return orderUsevehDao.getByUvOdr(uvOdr);
	}

	@Override
	public boolean judgmentCarUser(String relOdrNo, String relCardid) {
		return orderUsevehDao.judgmentCarUser(relOdrNo,relCardid);
	}

}
